package ex2.employee;


public class EmployeeApplication {

	
	public void runApplication(){
		
		IEquipmentHandler tEquipmentHandler = new CEquipmentHandler();
		CEmployeeHandler tEmployeehandler = new CEmployeeHandler();
		CReportInputReader tReportInputReader = new CReportInputReader(tEmployeehandler);
		CEmployeeInputReader tEmployeeInputReader = new CEmployeeInputReader(tEmployeehandler, tEquipmentHandler);
		CEquipmentInputReader tCEquipmentInputReader = new CEquipmentInputReader(tEquipmentHandler);
		
		//Reading Employee information from command line
		tEmployeeInputReader.readInformationFromCommandLine();
		
		//Reading Equipment information from command line
		tCEquipmentInputReader.readInformationFromCommandLine();
		
		//Running Report producer
		tEmployeehandler.clearRedundantEmployees();
		tEmployeehandler.clearRedundantEquipment();
		tReportInputReader.readInformationFromCommandLine();
		
	}
	
}
